package com.lovelyj.trip_by_train.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Passenger implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;       // 关联的用户ID

    private String name;       // 乘客姓名

    private String phone;

    private String email;

    private Integer idType;     //id证件类型，0：身份证 1：护照 2：港澳台通行证

    private String idCard;     // 身份证号

    private Integer type;       // 乘客类型(0.成人/1.儿童/2.学生/3.残疾军人等)

}
